﻿/*----------------------------------------------------------------------------
文件名：listPage.js
创建人：席吉波
创建日期：2012-10-25
用途：用于ListPage页面
----------------------------------------------------------------------------
*/

(function () {
    function execute() {
        listPage = function () {
            this.currentDialog = null;
        }
        listPage.prototype = {

            init: function () {

            },
            refresh: function () {
                var queryCtrl = $get("btnQuery");
                if (queryCtrl) {
                    queryCtrl.click();
                }
            },
            closeCurrentDialog: function () {
                var did = $get("DialogWindowIDByKevinXi").value;
                var ctrl = $find(did);
                if (ctrl) {
                    //$common.setVisible(ctrl, false);
                    ctrl._DialogWindowForm_CloseClick();
                }
            }
        }
        $listPage = new listPage();

    } //end exec
    if (!window.$listPage) {

        execute();
    }
})();
var $listPage;